package com.lecture.springlecture.service.impl;

import com.lecture.springlecture.dao.MenuMapper;
import com.lecture.springlecture.entity.Menu;
import com.lecture.springlecture.service.MenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author luyn
 * @version 1.0
 * @description
 * @date 2020/8/6 14:15
 */
@Service
public class MenuServiceImpl implements MenuService {

    @Autowired
    private MenuMapper menuMapper;

    @Override
    public List<Menu> getMenuList() {
        return menuMapper.getMenuList();
    }
}
